home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 September / PC-WELT 9-2001.ISO / software / hw / brennen / flask_src.exe / YUVtoRGB.h < prev   
Encoding:
C/C++ Source or Header  |  2000-05-06  |  675 b   |  25 lines

  1. #ifndef YUVTORGB_H
  2. #define YUVTORGB_H
  3.  
  4. typedef unsigned char YUVPixel;
  5.  
  6. typedef struct YUVImageTag
  7. {
  8.     unsigned char *Y;
  9.     int              Yxsize;
  10.     int              Yysize;
  11.     unsigned char *U;
  12.     unsigned char *V;
  13.     int              Cxsize;
  14.     int              Cysize;
  15. } YUVimage;
  16. void image_zero(YUVImageTag *input);
  17. void image_copy(YUVImageTag *output, YUVImageTag *input);
  18. void field_copy(YUVImageTag *output, YUVImageTag *input, int field);
  19. void field_copy_swap(YUVImageTag *output, YUVImageTag *input,  int field);
  20.  
  21. int YUVtoRGB(YUVimage *inp, unsigned char *dst);
  22. //void YUVToRGB32(YUVPixel *Y_ptr, YUVPixel *U_ptr, YUVPixel *V_ptr, unsigned char *dst, long bpr, long w, long h);
  23.  
  24.  
  25. #endif